//
//  LoginHelper.h
//  Lovely Food
//
//  Created by 李经纬 on 15/12/1.
//  Copyright © 2015年 李经纬. All rights reserved.
//

#import <Foundation/Foundation.h>


typedef void(^PassChange)();
@protocol LoginHelperDelegate <NSObject>

- (void)promptView;

@end

@interface LoginHelper : NSObject

@property (nonatomic, strong) id<LoginHelperDelegate>delegate;

@property (nonatomic, copy) PassChange passChange;


// 登陆
- (void)loginWithUserName:(NSString *)userName passWord:(NSString *)passWord;

// 注册
- (void)registeWithUserName:(NSString *)userName passWord:(NSString *)passWord email:(NSString *)email phone:(NSString *)phone;



@end
